/**
 * @ClassName: RetrofitFactory
 * @Description: java类作用描述
 * @Author: zdl
 * @Date: 2022/3/16 15:46
 */
package com.example.a_lib.http;

import com.example.a_lib.config.ServerFlavorConfig;

/**
 * @ClassName: RetrofitFactory
 * @Description: java类作用描述
 * @Author: zdl
 * @Date: 2022/3/16 15:46
 */
public class RetrofitFactory {
    public static final String API_BASE_URL_DEFAULT = ServerFlavorConfig.API_BASE_URL_LEZHU_GENERAL;
    public static final String API_HOST_SMART_SITE_NAME = "smartsite";
    public static final String API_HOST_SMART_SITE_PERFIX = "Domain-Name:" + API_HOST_SMART_SITE_NAME;
    public static final String API_HOST_HELMETDOCK_NAME = "helmetdock";
    public static final String API_HOST_HELMET_DOCK_PREFIX = "Domain-Name:" + API_HOST_HELMETDOCK_NAME;
    public static final String API_HOST_IOT_SUPERVISE_NAME = "iot_supervise";
    public static final String API_HOST_IOT_SUPERVISE_PREFIX = "Domain-Name:" + API_HOST_IOT_SUPERVISE_NAME;

    /**
     * 默认的超时时间
     */
    public static final int DEFAULT_TIMEOUT_MILLISECONDS = 15000;
    /**
     * 默认重试次数
     */
    public static final int DEFAULT_RETRY_COUNT = 0;
    /**
     * 默认重试叠加时间
     */
    public static final int DEFAULT_RETRY_INCREASE_DELAY = 0;
    /**
     * 默认重试延时
     */
    public static final int DEFAULT_RETRY_DELAY = 500;
    /**
     * 默认缓存失效时间：永久有效
     */
    public static final long DEFAULT_CACHE_NEVER_EXPIRE = -1;









}
